﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace UIT.Controls.Template
{
    [TypeConverter(typeof(Converters.TemplateConverter))]
    public interface ITemplate
    {
        TemplateContent Template { get; set; }
        IControl CreateInstance(object context);

        bool IsBoundTemplate { get; }

        object Metadata { get; set; }
    }
}
